<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="HTML Tidy for Windows (vers 14 February 2006), see www.w3.org">
    <title>Add Training</title>
    <link rel="stylesheet" href="css/style.css" type="text/css">
</head>

<body>
<div id="wrapper">
<%@ include file="/header-inside.jsp" %>
	<div id = "body">
		<div id="bleft">
	
			<h1>Add Training</h1>
			
			<c:url var="viewTrainingsUrl" value="/trainings.html" />
			<a href="${viewTrainingsUrl}">Show All Trainings</a>
			
			<br />
			<br />
			<c:url var="saveTrainingUrl" value="/trainings/save.html" />
			<form:form modelAttribute="training" method="POST" action="${saveTrainingUrl}">
				<form:label path="trainingTopic">Training Name:</form:label>
				<form:input path="trainingTopic" />
				<br />
				<form:label path="trainingDesc">Training Desc:</form:label>
				<form:textarea path="trainingDesc" />
				<br />
				<form:label path="trainingSlots">Training Slots:</form:label>
				<form:textarea path="trainingSlots" />
				<br />
				<form:label path="location">Training Slots:</form:label>
				<form:textarea path="location" />
				<br />
				<form:label path="trainingFee">Training Fee:</form:label>
				<form:textarea path="trainingFee" />
				<br />
				<form:label path="timeStart">Training Start:</form:label>
				<form:textarea path="timeStart" />
				<br />
				<form:label path="timeFinish">Training Finish:</form:label>
				<form:textarea path="timeFinish" />
				<br />
				<form:label path="trainingDate">Training Date:</form:label>
				<form:textarea path="trainingDate" />
				<br />
				
				<input type="submit" value="Save Training" />
			</form:form>
		</div> <!-- bleft -->
		<%@include file="/sidemenu.jsp" %>
	</div> <!-- body -->
</div> <!-- wrapper -->

<div id="footer">
      <div class="container">
        <div class="copyright">
        </div>
      </div>
</div>

</body>
</html>